<%@page import="helpers.UrlHelper"%>
<%
String article = (String) request.getAttribute("article");
String rewrite = (String) request.getAttribute("rewrite");

//Set content for seo
String nameServer = UrlHelper.getDomainServer(request);
String title = "Rewrite Article - " + nameServer;
String description = "Article rewriter tool specialists rewrite the article (copy - duplicate content) into a unique article content (for google). It will change some words, phrases ... so that the content is constant but it's a unique content article after rewritable. We built this tool for that purpose. We hope give a useful tool to communities SEOer and online marketers. Unique content is the King.";
String keywords = "rewrite, rewrite article, archives, archives article, submit article, article commit";
String url = UrlHelper.getServerUrl(request) + "/rewriter";
%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<jsp:include page="/layouts/header.jsp">
	<jsp:param name="title" value="<%=title %>" />
    <jsp:param name="description" value="<%=description %>" />
    <jsp:param name="keywords" value="<%=keywords %>" />
    <jsp:param name="ogtitle" value="<%=title %>" />
    <jsp:param name="ogurl" value="<%=url %>" />
    <jsp:param name="ogdescription" value="<%=description%>" />
</jsp:include>
            
            <div id="mainContent" class="left">
            	<div id="articleRewritePage">
                	<h3 class="title">Article rewriter</h3>
                    <p class="intro">Article rewriter tool specialists rewrite the article (copy - duplicate content) into a unique article content (for google). It will change some words, phrases ... so that the content is constant but it's a unique content article after rewritable. We built this tool for that purpose. We hope give a useful tool to communities SEOer and online marketers. Unique content is the King.</p>
                    <div class="adv">
						<script type="text/javascript"><!--
						google_ad_client = "ca-pub-2883566427648799";
						/* link_menu 468x15 */
						google_ad_slot = "8735411486";
						google_ad_width = 468;
						google_ad_height = 15;
						//-->
						</script>
						<script type="text/javascript"
						src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
						</script>
	                </div>
					<form method="post" action="" class="formStyle">                    	                                            
                        <div>
                        	<label>Original Article (required)</label>
                            <textarea name="article"><%=article %></textarea>
                        </div>
                        <div class="clearafter">
                        	<button type="submit">Rewrite</button>
                        	<div class="right">
                        		<script type="text/javascript"><!--
								google_ad_client = "ca-pub-2883566427648799";
								/* question 468x60 */
								google_ad_slot = "8574497481";
								google_ad_width = 468;
								google_ad_height = 60;
								//-->
								</script>
								<script type="text/javascript"
								src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
								</script>
                        	</div>
                        </div>
                        
                        
                        <div>
                        	<label>Rewritten Article</label>
                            <textarea readonly="readonly"><%=rewrite %></textarea>
                        </div>
                    </form>
                </div>
            </div>
            
            <jsp:include page="/elements/right.jsp" />
            
            <div class="clearbreak"></div>
<jsp:include page="/layouts/footer.jsp" />